package com.hzw.saas.web.app.rss.param;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.hzw.saas.api.rss.bo.JournalBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class JournalParam  {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "pid,后端为custom表主键")
    private String pid;

    @Excel(name = "分类名称")
    @ApiModelProperty(value = "分类名称")
    private String catalogName;

    @Excel(name = "分类id")
    @NotNull(message = "请选择分类")
    @ApiModelProperty(value = "分类id")
    private String catalogId;

    @Excel(name = "期刊名称")
    @ApiModelProperty(value = "期刊名称")
    private String journalName;

    @Excel(name = "期刊号")
    @ApiModelProperty(value = "期刊号")
    private String journalIssn;

    @Excel(name = "期刊介绍")
    @ApiModelProperty(value = "期刊介绍")
    private String journalDesc;

    @ApiModelProperty(value = "期刊封面url")
    private String journalImg;

    @Excel(name = "期刊级别（分区）")
    @ApiModelProperty(value = "期刊级别（分区）")
    private String journalLevel;

    @Excel(name = "出版商名称")
    @ApiModelProperty(value = "出版商名称")
    private String publisher;

    @Excel(name = "RSS地址")
    @ApiModelProperty(value = "RSS地址（json数组）")
    private String rssUrl;

    @ApiModelProperty(value = "期刊地址地址（json数组）")
    private String journalUrl;

    @ApiModelProperty(value = "是否订阅,true 订阅")
    private boolean doSub;

}
